<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .container {
            width: 100px;
            height: 100px;
            background-color: red;
            position:relative;
            left:50px;
            top:50px;
        }

        .con2{
            width: 100px;
            height: 100px;
            background-color: blue;
            position:absolute;
            left:100px;
            top:100px;
        }
    </style>
</head>
<body>
    <div class="container"></div>
    <div class="con2"></div>
</body>
</html>